-- GENERATED SPELL FOR [Indu'le Mystic] --


function spell0_26336(pUnit, Event) --@Mystical Bolt,n/a--
pUnit:FullCastSpellOnTarget(51787,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_26336', 2500, 1)
end

function Sorts_26336(pUnit, Event)
local choix_sorts_26336 = math.random(0, 0)
if choix_sorts_26336 == 0 then
pUnit:RegisterEvent('spell0_26336', 1, 1)
end
end

function mob26336_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_26336', math.random(1500, 3000), 1)
end

function mob26336_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26336_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26336_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(26336, 1, 'mob26336_Action')
RegisterUnitEvent(26336, 2, 'mob26336_Leave')
RegisterUnitEvent(26336, 3, 'mob26336_Kill')
RegisterUnitEvent(26336, 4, 'mob26336_Die')
